import Vue from 'vue'
import VueRouter from 'vue-router'
import Page1 from '../views/page1.vue'
import Page2 from '../views/page2.vue'


Vue.use(VueRouter)

const routes = [
    {
      path: '/page1',
      name: 'Page1',
      component: Page1
    },
    {
      path: '/page2',
      name: 'Page2',
      component: Page2
    }
]

const router = new VueRouter({
  routes
})

export default router
